package com.itheima.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 农场片区
 *
 * @author Michael Chow
 * @date   2020/11/14
 */
@Table(name = "t_cust_farm")
public class CustFarm implements Serializable {
    /**
     * 
     */
    @Id
    private Integer id;

    /**
     * 本农场所属组织
     */
    private Integer custid;

    /**
     * 农场编号
     */
    private String code;

    /**
     * 农场名称
     */
    private String name;

    /**
     * 农场状态
     */
    private String status;

    /**
     * 位置（经度）
     */
    private String longitude;

    /**
     * 位置（纬度）
     */
    private String latitude;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustid() {
        return custid;
    }

    public void setCustid(Integer custid) {
        this.custid = custid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }
}